<foreach name="result_gzh" item="each_res">
    <div class="list-contacts-sub">
        <img src="{$each_res['image']}" alt="" class="head-portrait"/>
        <div class="user-info">
            <span class="nickname">{$each_res['user_name']}</span>
            <input type="hidden" value="{$each_res['func_info']}" class="func_info">
            <input type="hidden" value="{$each_res['original_id']}" class="original_id">
            <input type="hidden" value="{$each_res['app_id']}" class="app_id">
            <if condition="$each_res['service_type_info'] eq 0">
                <span class="service-msg">
                    <span class="iconfont icon-dingyuehao"></span>
                    <span class="service-name">&nbsp;订阅号</span>
                </span>
            <elseif condition="$each_res['service_type_info'] eq 2"/>
                <span class="service-msg"><span class="iconfont icon-server"></span>
                <span class="service-name">&nbsp;服务号</span></span>
            <elseif condition="$each_res['service_type_info'] eq 1"/>
               <span class="service-msg"><span class="iconfont icon-dingyuehao"></span>
                <span class="service-name">&nbsp;订阅号</span></span>
            </if>
        </div>
    </div>
</foreach>